package com.jk.bglog.controller;

import com.jk.bglog.entity.AdministratorEntity;
import com.jk.bglog.entity.OrderLogEntity;
import com.jk.bglog.entity.UserInfoEntity;
import com.jk.bglog.service.AdminService;
import com.jk.bglog.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

@RestController
@RequestMapping("administrator")
public class AdministratorController {

    @Resource
    private AdminService AdminService;

    /**
     * @description:  管理员日志查询/和条件查询
     * @param: [AdministratorEntity]
     * @return: java.util.List<com.jk.bglog.entity.AdministratorEntity>
     * @author 刘杨彬
     * @date: 2021/9/1 21:01
     */
    @RequestMapping("findAdministrator")
    public List<AdministratorEntity>findAdministrator(AdministratorEntity AdministratorEntity){

        return AdminService.findAdministrator(AdministratorEntity);
    }




}
